package org.example.service;

import org.example.model.Record;

import java.util.List;

public interface RecordService {
     List<Record> listAll();

     int create(Record record);

     int delete(Long id);

     int update(Record record);

      Record getById(Long id);

      List<Record> getByPhoneNum(int phoneNum);
}
